body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dd,
td,
input,
select,
option,
textarea {
    margin: 0;
    padding: 0;
}

body {
    font-family: "微软雅黑";
    width: 100%;
    height: 100%;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    border: none;
}


//抬头图片的宽高及隐藏显示属性设置
.img-wrapper {
    background-color: #01a1ff;
    position: relative;

    .title {
        display: block;
        width: 1190px;
        margin: 0 auto;
    }

    .btn {
        position: absolute;
        top: 3px;
        right: 56px;
        width: 15px;
        height: 15px;
        background: url(//res.suning.cn/project/cmsWeb/suning/homepage/v8/css/images/index.png?v=2021062901) -241px -145px;
    }

    .active {
        display: none;
        width: 0;
    }

    .change {
        background-position: -241px -160px;
    }
}

//导航样式
@mixin liCommon {
    display: flex;
    justify-content: space-between;
    height: 35px;
}

.nav {
    height: 35px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #eeeeee;

    .wrapper {
        width: 1190px;
        height: 35px;
        // background-color: yellow;
        margin: 0 auto;

        .left {
            float: left;
            width: 382px;
            @include liCommon();
            // background-color: hotpink;
            padding-left: 10px;
        }

        .right {
            width: 648px;
            @include liCommon();
            float: right;

            // background-color: skyblue;
        }

        li {
            position: relative;
            float: left;
            height: 35px;
            line-height: 35px;

            &:hover span {
                transform: rotate(180deg);
            }

            a {
                font-size: 12px;
                color: #666762;

                &:hover {
                    color: #ff6700;
                }
            }

            span {
                font-size: 12px;
                color: #666762;
            }

            .hover {
                color: #ff6700;
            }
        }
    }
}

// .nav .open{
//     position: absolute;
//     top: 0px;
//     padding-top: 35px;
//     border: 1px solid #333;
//     width: 100%;
//     background-color: rgba($color: #000000, $alpha: 0);
//     li{

//         text-align: center;
//         float: none; 
//     }
//     }

//头部属性
.index-header {
    height: 110px;

    .header-con {
        width: 1190px;
        height: 110px;
        margin: 0 auto;

        .header-box {
            float: left;
            width: 190px;
            height: 90px;
            margin-top: 10px;
            line-height: 90px;

            img {
                width: 100%;
            }
        }
    }
}

.index-header .search-box {
    width: 600px;
    height: 100px;
    margin: 0 auto;
    padding-top: 30px;

    .search {
        width: 540px;
        float: right;
        position: relative;

        form {

            width: 540px;
            height: 40px;

            .input-box {
                width: 416px;
                height: 36px;
                float: left;
                border: 2px solid #ff6700;
                border-radius: 12px 0 0 12px;
                position: relative;

                .icon {
                    width: 25px;
                    height: 36px;
                    background: url(../image/icon3.jpg) no-repeat center;
                    float: left;
                }

                .text {
                    padding-left: 6px;
                    width: 385px;
                    height: 36px;
                    outline: 0;
                    border: 0;
                    color: black;
                    font-size: 12px;
                }
            }

            .send {
                float: left;
                width: 120px;
                height: 40px;
                outline: 0;
                border: 2px solid #ff6700;
                border-radius: 0 12px 12px 0;
                background-color: #ff6700;
                font-size: 18px;
                font-weight: bold;
                color: white;
            }
        }
    }
}

//模糊搜索栏
.hotWords {
    width: 540px;
    height: 20px;
    line-height: 20px;
    color: #9a9a9a;
    font-size: 12px;

    a {
        color: #9a9a9a;
        font-size: 12px;
        padding-left: 9px;
        padding-right: 5px;
    }

    a:first-of-type {
        padding-left: 0;
    }

    a:last-of-type {
        padding-right: 0;
    }

    .active {
        color: #ff6700;
    }

    a:hover {
        color: #ff6700;
    }
}

.search-word {
    position: absolute;
    left: 0px;
    top: 40px;
    width: 538px;
    background-color: white;
    display: none;
    border: 1px solid #e4e4e4;
    z-index: 999;
    display: none;

    li {
        width: 540px;
        height: 24px;
        line-height: 24px;
        font-size: 12px;
        padding-left: 18px;
        font-weight: bold;
        color: #666666;
    }
}


//列表导航栏属性
.list-nav {
    height: 38px;
}

.list-nav .list-con {
    z-index: 50;
    width: 1190px;
    height: 38px;
    margin: 0 auto;
    position: relative;
}

.list-nav .list-con .list-left {
    display: block;
    width: 200px;
    height: 38px;
    float: left;
    border-radius: 10px 10px 0 0;
    position: relative;
    background-color: #ff7f00;

    i {
        position: absolute;
        display: block;
        width: 14px;
        height: 14px;
        line-height: 14px;
        top: 12px;
        left: 12px;
        background: url(//res.suning.cn/project/cmsWeb/suning/homepage/v8/css/images/index.png?v=2021062901) -928px 0;
    }

    span {
        display: block;
        position: absolute;
        width: 173px;
        padding-left: 27px;
        height: 38px;
        line-height: 38px;
        top: 0;
        left: 14px;
        color: #fff;
        font-size: 13px;
        font-weight: bold;
    }
}

.list-nav .list-con .nav-center {
    width: 790px;
    height: 37px;
    float: left;

    .pic-titel {
        display: block;
        width: 110px;
        height: 138px;
        padding-left: 0;
        padding-right: 0;

        img {
            width: 100%;
        }
    }

    a {
        display: block;
        height: 38px;
        line-height: 38px;
        padding-left: 15px;
        padding-right: 15px;
        float: left;
        font-size: 14px;
        color: #343436;
        font-weight: bold;
        position: relative;

        &:nth-child(2)>i {
            position: absolute;
            display: inline-block;
            height: 17px;
            width: 14px;
            left: auto;
            top: 0;
            background: url(//res.suning.cn/project/cmsWeb/suning/homepage/v8/css/images/index.png?v=2021062901);
            background-position: -345px -213px
        }

        &:nth-child(5)>i {
            position: absolute;
            display: inline-block;
            height: 17px;
            width: 14px;
            left: auto;
            top: 0;
            background: url(//res.suning.cn/project/cmsWeb/suning/homepage/v8/css/images/index.png?v=2021062901);
            background-position: -19px 0
        }

        &:hover {
            color: #F60;
        }
    }
}

.list-nav .list-con .list-right {
    display: block;
    width: 200px;
    height: 38px;
    float: left;

    img {
        width: 100%;
        height: 100%;
    }
}

.list-nav .list-con .index-list {
    width: 200px;
    height: 476px;
    // background-color: #ff6700;
    background-color: white;
    position: absolute;
    top: 38px;
    left: 0;

    li {
        width: 200px;
        height: 31px;
        position: relative;

        // background-color: blue;
        img {
            display: inline-block;
            width: 16px;
            height: 16px;
            line-height: 16px;
            vertical-align: middle;
            padding-left: 9px;
            padding-right: 9px;
        }

        em {
            font-style: normal;
            font-size: 14px;
            vertical-align: middle;
            height: 12px;
            width: 1px;
            line-height: 29px;
            margin: 0 1px;
        }

        a {
            height: 30px;
            line-height: 30px;
            font-size: 12px;
            color: #000000;
        }
    }

    .con {
        box-sizing: border-box;
        width: 990px;
        height: 476px;
        background-color: #f3f3f3;
        position: absolute;
        top: 0;
        left: 200px;
        z-index: 20;
        display: none;
        padding: 11px 8px 0 33px;
    }
}

.list-nav .list-con .con-list {
    position: absolute;
    top: 38px;
    right: 0;
    width: 200px;
    height: 476px;
    background-color: white;

    .con-list-top {
        width: 200px;
        height: 238px;
        box-sizing: border-box;

        position: relative;
        overflow: hidden;

        img {
            width: 100%;
            height: 100%;
        }

        .icon {
            display: inline-block;
            width: 50px;
            height: 50px;
            position: absolute;
            top: 10px;
            left: 10px;
            // margin: 10px  0 0 10px;
        }

        .btn-group {
            width: 200px;
            height: 38px;
            margin-top: 15px;
            margin-left: 66px;
            font-size: 12px;

            a,
            p {
                margin-left: 5px;
                margin-right: 5px;
                font-size: 12px;
                color: #343432;
            }

            a:hover {
                color: #ff6800;
            }
        }

        .new,
        .super {
            display: block;
            width: 156px;
            height: 24px;
            line-height: 24px;
            border-radius: 4px;
            background-color: #ff6800;
            margin-top: 15px;
            margin-left: 20px;
            font-size: 12px;
            color: white;
            text-align: center;

            &:hover {
                opacity: .8;
            }
        }

        .super {
            background-color: #1a175e;
            color: #f9da9a;
        }

        .three-entry {
            width: 200px;
            height: 80px;
            display: flex;
            margin-top: 27px;

            a {
                display: block;
                width: 67px;
                height: 80px;
                text-align: center;

                img {
                    display: inline-block;
                    width: 36px;
                    height: 36px;
                }

                p {
                    font-size: 12px;
                    margin-top: 5px;
                    color: #323230;
                }

                &:hover p {
                    color: #ff6800;
                }
            }


        }
    }

    .con-list-bottom {
        width: 198px;
        height: 238px;
        box-sizing: border-box;
        border-top: 1px solid #f2f2f2;

        a {
            display: block;
            width: 65px;
            height: 80px;
            text-align: center;
            float: left;
            border-width: 0 1px 1px 0;
            border-style: solid;
            border-color: #f2f2f2;

            &:nth-child(3),
            &:nth-child(6),
            &:nth-child(9) {
                border-right: 0;
            }

            img {
                display: inline-block;
                width: 26px;
                height: 26px;
                margin-top: 13px;
                margin-bottom: 16px;
            }

            p {
                height: 12px;
                font-size: 12px;
                color: #323230;
            }

            &:hover {
                box-shadow: 0 4px 8px 0 rgb(0 0 0 / 10%);
            }

            &:hover p {
                color: #ff6800;
            }
        }
    }
}

//二级列表
.index-list .con .con-title {
    // width: 48px;
    height: 24px;
    margin-bottom: 24px;
}

.index-list .con .con-title a {
    display: block;
    height: 24px;
    width: 80px;
    border-radius: 4px;
    text-align: center;
    line-height: 24px;
    background-color: #3267ff;
    color: white;
    font-size: 12px;
    font-weight: bold;
    float: left;
    margin-right: 25px;
}

.index-list .con .con-1,
.index-list .con .con-2 {
    display: block;
    width: 770px;
    height: 46px;
    //   background: pink;
    margin-bottom: 11px;

    .title {
        display: block;
        width: 48px;
        font-size: 12px;
        color: #212123;
        margin-right: 36px;
        float: left;
        // background-color: #01a1ff;
    }

    .introduce {
        float: left;
        width: 680px;
        // height: 45px;
        border-bottom: 1px solid #eeeeee;

        // background-color: orange;
        a {
            display: inline-block;
            font-size: 12px;
            padding-right: 14px;
            color: #020204;
        }

        .hot {
            color: #3747d0;
        }
    }
}

.index-list .con .con-2 {
    height: 23px;
}

.index-list .con {
    position: relative;
}

.index-list .con .pic {
    width: 200px;
    height: 476px;
    // background-color: yellow;
    position: absolute;
    top: 0;
    right: 0;

    img {
        width: 100%;
        height: 100%;
    }

    .top {
        width: 184px;
        height: 184px;
        // background-color: #01a1ff;
        margin-left: 15px;
        display: flex;
        flex-wrap: wrap;

        border-top: 1px solid #eaeaea;
        border-left: 1px solid #eaeaea;

        a {
            display: inline-block;
            width: 92px;
            height: 46px;
            box-sizing: border-box;
            border-right: 1px solid #eaeaea;
            border-bottom: 1px solid #eaeaea;

        }
    }

    .center {
        margin-left: 15px;
        margin-top: 12px;
        width: 175px;
        height: 100px;
    }

    .bottom {
        margin-left: 15px;
        margin-top: 5px;
        width: 175px;
        height: 100px;
    }
}

//鼠标经过时显示二级菜单
.index-list li:hover {
    background-color: #f3f3f3;
}

.index-list:hover .con {
    display: block !important;
}




//banner
.banner {
    width: 100%;
    height: 476px;
}

.container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.container .wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.wrapper .slide {
    width: 100%;
    height: 100%;
    ;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .5s;

    &:nth-child(1) {
        background-color: #15f2d2;
    }

    &:nth-child(2) {
        background-color: rgb(61, 176, 243);
    }

    &:nth-child(3) {
        background-color: rgb(144, 55, 37);
    }

    &:nth-child(4) {
        background-color: rgb(62, 82, 231);
    }

    &:nth-child(5) {
        background-color: rgb(172, 147, 215);
    }

    &:nth-child(6) {
        background-color: rgb(132, 12, 14);
    }

    &:nth-child(7) {
        background-color: #00a8ff;
    }

    &:nth-child(8) {
        background-color: rgb(235, 235, 235);
    }
}

.container .slide a {
    display: block;
    width: 790px;
    height: 100%;
    margin: 0 auto;
    display: block;
}

.wrapper .slide.active {
    z-index: 2;
    opacity: 1;
}

.wrapper .slide img {
    display: block;
    width: 100%;
    height: 100%;
}

//左右切换按钮
.button-prev {
    width: 27px;
    height: 70px;
    border-radius: 0 5px 5px 0;
    position: absolute;
    top: 180px;
    left: 50%;
    margin-left: -395px;
    z-index: 10;
    cursor: pointer;
    display: none;
    background: url(//res.suning.cn/project/cmsWeb/suning/homepage/v8/css/images/index.png?v=2021062901) -1152px 0;
}
.button-next {
    width: 27px;
    height: 70px;
    position: absolute;
    top: 180px;
    z-index: 10;
    cursor: pointer;
    display: none;
    border-radius: 5px 0 0 5px;
    right: 50%;
    margin-right: -395px;
    background: url(//res.suning.cn/project/cmsWeb/suning/homepage/v8/css/images/index.png?v=2021062901) -1152px -72px;
}

// banner 导航栏
.banner-nav {
    width: 202px;
    height: 4px;
    margin: 0 auto;
    position: absolute;
    top: 345px;
    left: 50%;
    margin-left: -101px;
    z-index: 9;
    opacity: .8;

    .page-item {
        float: left;
        width: 20px;
        height: 4px;
        background: rgba(255, 255, 255, 0.5);
        margin-right: 6px;
    }

    :last-child {
        margin-right: 0;
    }

    .active {
        background-color: #ff8000;
    }
}

//四个图
.four-sm-banner {
    width: 780px;
    height: 112px;
    position: absolute;
    z-index: 10;
    bottom: 5px;
    left: 50%;
    margin-left: -390px;
    display: flex;
    justify-content: space-between;

    li {
        width: 194px;
        height: 112px;
        border-radius: 5px;
        position: relative;
        a:after {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            content: '';
            background-color: white;
            opacity: 0;
            visibility: hidden;
            -webkit-transition: all .2s ease;
            transition: all .2s ease;
        }
        a:hover:after {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            content: '';
            background-color: white;
            opacity: 0;
            visibility: hidden;
            -webkit-transition: all .2s ease;
            transition: all .2s ease;
            visibility: visible;
            opacity: .3;
        }
    }

    img {
        width: 100%;
        height: 100%;
    }
}